package entity;

public class Pet {
    /**
     * 宠物实体类
     */
    private  int id;
    /**
     * 编号
     */
    private String name;
    /**
     * 宠物名字
     */
    private String type_name;
    /**
     * 宠物类型
     */
    private  int health;
    /**
     * 健康值
     */
    private  int love;
    /**
     * 爱心值
     */
    private String birthday;
    /**
     * 出生日期
     */
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType_name() {
        return type_name;
    }

    public void setType_name(String type_name) {
        this.type_name = type_name;
    }

    public int getHealth() {
        return health;
    }

    public void setHealth(int health) {
        this.health = health;
    }

    public int getLove() {
        return love;
    }

    public void setLove(int love) {
        this.love = love;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return "Pet{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", type_name='" + type_name + '\'' +
                ", health=" + health +
                ", love=" + love +
                ", birthday='" + birthday + '\'' +
                '}';
    }
}
